<li>
  <label for="provider_id"><?php echo $this->lang->line('label.payment_history.provider_id') ?></label>
  <div class="input"><?php
$ref_obj = $this->provider_model->get($obj["provider_id"]);
if ($ref_obj) {
 ?>
    <a href="<?php echo site_url('admin/'."provider/show/" . $obj["provider_id"]) ?>">
      <?php echo $this->provider_model->to_string($ref_obj) ?></a>
<?php } ?>
  </div>
</li>
<li>
  <label for="end_user_id"><?php echo $this->lang->line('label.payment_history.end_user_id') ?></label>
  <div class="input"><?php
    $ref_obj = $this->end_user_model->get($obj["end_user_id"]);
    if ($ref_obj) {
  ?>
      <a href="<?php echo site_url('admin/'."end_user/show/" . $obj["end_user_id"]) ?>">
  <?php echo $this->end_user_model->to_string($ref_obj) ?></a>
<?php } ?>
  </div>
</li>
<li>
  <label for="transaction_id"><?php echo $this->lang->line('label.payment_history.transaction_id') ?></label>
  <div class="input"><?php
$ref_obj = $this->transaction_model->get($obj["transaction_id"]);
if ($ref_obj) {
  ?>
      <a href="<?php echo site_url('admin/'."transaction/show/" . $obj["transaction_id"]) ?>">
  <?php echo $this->transaction_model->to_string($ref_obj) ?></a>
<?php } ?>
  </div>
</li>
<li>
  <label for="date_pay"><?php echo $this->lang->line('label.payment_history.date_pay') ?></label>
  <div class="input"><?php echo $obj["date_pay"] ?>
  </div>
</li>
<li>
  <label for="amount"><?php echo $this->lang->line('label.payment_history.amount') ?></label>
  <div class="input"><?php echo $obj["amount"] ?>
  </div>
</li>
<li>
  <label for="currency_id"><?php echo $this->lang->line('label.payment_history.currency_id') ?></label>
  <div class="input"><?php
    $ref_obj = $this->currency_model->get($obj["currency_id"]);
    if ($ref_obj) {
  ?>
      <a href="<?php echo site_url('admin/'."currency/show/" . $obj["currency_id"]) ?>">
  <?php echo $this->currency_model->to_string($ref_obj) ?></a>
<?php } ?>
  </div>
</li>
<li>
  <label for="description"><?php echo $this->lang->line('label.payment_history.description') ?></label>
  <div class="input"><?php echo $obj["description"] ?>
  </div>
</li>